<script language="JavaScript">
<!--
function f_importdata() {
	var where_sql = "contract_master.auditing = '3' and contract_master.contract_code like 'ZHT%25' and contract_master.contract_date > add_months(sysdate ,-3)  ";   //substr(contract_mat_detail.material_type_code, 1, 2) >= '41'
	where_sql += " and contract_mat_detail.MATERIAL_CODE >= '410000000000' and contract_mat_detail.MATERIAL_CODE < '450000000000'";	// and substr(contract_mat_detail.material_type_code, 1, 2) <= '44'
	var where_value = "";
	var where_type = "";

	var contextPath = gc_document.getObjProp("contextPath", "value");
	var uploadUrl = contextPath + "/layout/commonwin.jsp?funcid=contract_adjust_mat&pagetype=grid&where_sql=" + where_sql;
	gc_util.openModelWindow(uploadUrl, true ,700, 450);

	f_reloadPage();
	return false;
}
//-->
</script>